# We don't care about stripping things out of the build. Full monty, baby.
DEFINES += MAXIMAL_ENABLED
DEFINES += FILTERS_ENABLED
-DEFINES += PDBFMTS_ENABLED
DEFINES += SHAPELIB_ENABLED
DEFINES += CSVFMTS_ENABLED
-DEFINES += CET_WANTED
# Creator insists on adding -W to -Wall which results in a completely
# absurd amount of jibber-jabber on perfectly legally formed code.
/* Define if building universal (internal helper macro) */
#undef AC_APPLE_UNIVERSAL_BUILD
-/* 0 for most-used character sets */
-#undef CET_WANTED
-
/* 1 to enable the CSV formats support */
#undef CSVFMTS_ENABLED
/* Define to the version of this package. */
#undef PACKAGE_VERSION
-/* 1 to enable Palm PDB support */
-#undef PDBFMTS_ENABLED
-
/* 1 to enable shapefile support */
#undef SHAPELIB_ENABLED
RC
FILEINFO
FMTS
-PALM_DB_CMT
EGREP
GREP
CXXCPP
ac_subst_files=''
ac_user_opts='
enable_option_checking
-with_cet
enable_shapefile
-enable_pdb
enable_csv
enable_most
enable_filters
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-shapefile=(yes)|no
- --enable-pdb=(yes)|no
--enable-csv=(yes)|no
--enable-most=(yes)|no
--enable-filters=(yes)|no
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --with-cet=(default,all,minimal)
--with-zlib=(included)|system|no
--with-doc=DIR Path where the documentation will be stored.
fi
-
-# Check whether --with-cet was given.
-if test "${with_cet+set}" = set; then :
- withval=$with_cet; cet="$withval"
-else
- cet="default"
-fi
-
-
if test $GCC = yes; then
CFLAGS="$CFLAGS -Wall"
CXXFLAGS="$CXXFLAGS -Wall"
fi
-if test "$cet" = "all"; then
-
-$as_echo "#define CET_WANTED 1" >>confdefs.h
-
-fi
-if test "$cet" = "default"; then
-
-$as_echo "#define CET_WANTED 0" >>confdefs.h
-
-fi
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support shapefiles" >&5
$as_echo_n "checking whether to support shapefiles... " >&6; }
# Check whether --enable-shapefile was given.
$as_echo "no" >&6; }
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support Palm/OS pdb formats" >&5
-$as_echo_n "checking whether to support Palm/OS pdb formats... " >&6; }
-# Check whether --enable-pdb was given.
-if test "${enable_pdb+set}" = set; then :
- enableval=$enable_pdb; enable_pdb="$enableval"
-else
- enable_pdb="yes"
-fi
-
- if test "$enable_pdb" != "no" ; then
-
-$as_echo "#define PDBFMTS_ENABLED 1" >>confdefs.h
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- else
- PALM_DB_CMT=#
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- fi
-
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support csv formats" >&5
$as_echo_n "checking whether to support csv formats... " >&6; }
# Check whether --enable-csv was given.
# Checks for libraries.
AC_CHECK_LIB([m], [cos])
-AC_ARG_WITH(cet,[ --with-cet=(default,all,minimal)],
- cet="$withval", cet="default")
-
if test $GCC = yes; then
CFLAGS="$CFLAGS -Wall"
CXXFLAGS="$CXXFLAGS -Wall"
fi
-if test "$cet" = "all"; then
- AC_DEFINE(CET_WANTED, 1, [1 for all character sets])
-fi
-if test "$cet" = "default"; then
- AC_DEFINE(CET_WANTED, 0, [0 for most-used character sets])
-fi
-
AC_MSG_CHECKING(whether to support shapefiles)
AC_ARG_ENABLE(shapefile,
[ --enable-shapefile=[(yes)|no]],
AC_MSG_RESULT(no)
fi
-AC_MSG_CHECKING(whether to support Palm/OS pdb formats)
-AC_ARG_ENABLE(pdb,
- [ --enable-pdb=[(yes)|no]],
- [ enable_pdb="$enableval"],[enable_pdb="yes"])
- if test "$enable_pdb" != "no" ; then
- AC_DEFINE(PDBFMTS_ENABLED, 1, [1 to enable Palm PDB support])
- AC_MSG_RESULT(yes)
- else
- PALM_DB_CMT=#
- AC_MSG_RESULT(no)
- fi
-AC_SUBST(PALM_DB_CMT)
-
AC_MSG_CHECKING(whether to support csv formats)
AC_ARG_ENABLE(csv,
[ --enable-csv=[(yes)|no]],
/****************************************************************************/
/* obligatory global struct */
/****************************************************************************/
-XcsvFile xcsv_file;
extern char* xcsv_urlbase;
extern char* prefer_shortnames;
#if CSVFMTS_ENABLED
+XcsvFile xcsv_file;
static double pathdist = 0;
static double oldlon = 999;
static double oldlat = 999;
"CSVFMTS_ENABLED "
#endif
-#if PDBFMTS_ENABLED
- "PDBFMTS_ENABLED "
-#endif
-
#if SHAPELIB_ENABLED
"SHAPELIB_ENABLED "
#endif
-#if defined CET_WANTED
- "CET_ENABLED "
-#endif
"\n");
}
<Optimization>Disabled</Optimization>\r
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>\r
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>\r
- <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;WIN32;__WIN32__;_DEBUG;_CONSOLE;HAVE_LIBEXPAT;MAXIMAL_ENABLED;FILTERS_ENABLED;PDBFMTS_ENABLED;SHAPELIB_ENABLED;CSVFMTS_ENABLED;CET_WANTED;QT_CORE_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+ <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;WIN32;__WIN32__;_DEBUG;_CONSOLE;HAVE_LIBEXPAT;MAXIMAL_ENABLED;FILTERS_ENABLED;SHAPELIB_ENABLED;CSVFMTS_ENABLED;QT_CORE_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
</ClCompile>\r
<ResourceCompile>\r
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
<IntrinsicFunctions>false</IntrinsicFunctions>\r
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>\r
<WholeProgramOptimization>true</WholeProgramOptimization>\r
- <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;WIN32;__WIN32__;NDEBUG;_CONSOLE;HAVE_LIBEXPAT;MAXIMAL_ENABLED;FILTERS_ENABLED;PDBFMTS_ENABLED;SHAPELIB_ENABLED;CSVFMTS_ENABLED;CET_WANTED;QT_CORE_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+ <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;WIN32;__WIN32__;NDEBUG;_CONSOLE;HAVE_LIBEXPAT;MAXIMAL_ENABLED;FILTERS_ENABLED;SHAPELIB_ENABLED;CSVFMTS_ENABLED;QT_CORE_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
</ClCompile>\r
<ResourceCompile>\r
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
// Define to zero for the common UTF-8, ASCII and related sets.
// Define to one for everything we know.
-/* 0 for most-used, 1 for all character sets */
-#define CET_WANTED 1
-
/* 1 to enable as many formats as possible */
#define MAXIMAL_ENABLED 1
/* 1 to enable all the filters. */
#define FILTERS_ENABLED 1
-/* 1 to enable Palm PDB support */
-#define PDBFMTS_ENABLED 1
-
/* 1 to enable shapefile support */
#define SHAPELIB_ENABLED 1